home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Puppeteer1.1 / Source / Controller.h < prev    next >
Text File  |  1995-06-12  |  952b  |  37 lines

  1. /*
  2.  * Puppeteer 1.1
  3.  *
  4.  * Copyright (c) 1994 Primitive Software Ltd.  All rights reserved.
  5.  *
  6.  * Author: Dave Griffiths <dave@prim.demon.co.uk>
  7.  */
  8.  
  9.  
  10. #import <appkit/appkit.h>
  11.  
  12. extern id    puppet;                // Puppet on a string
  13. extern BOOL    bufferKeystrokes;    // YES if key strokes are buffered until flushed
  14. extern int    selectedWindow;        // The currently selected window
  15.  
  16. @interface Controller:Object
  17. {
  18.     id    mainWindow;        // Where it all happens
  19.     id    appNameField;        // Form where application name is entered
  20.     id    chooseWindowButton;    // Button covering window choice popup list
  21.     id    remoteView;        // View that displays apps window
  22.     id    textObject;        // Text object where text is relayed to puppet
  23.     BOOL    printMouseClicks;    // Output info on mouse clicks
  24. }
  25.  
  26. - reloadPopupList;
  27. - attachStrings:sender;
  28. - chooseWindow:sender;
  29. - flushKeyboardBuffer:sender;
  30. - bufferOn:sender;
  31. - bufferOff:sender;
  32. - (int)selectedWindow;
  33. - (BOOL)printMouseClicks;
  34. - printMouseClicks:sender;
  35.  
  36. @end
  37.